package com.example.friend.service.exam;

import com.example.common.core.domain.TableDataInfo;
import com.example.friend.domain.exam.dto.ExamQueryDTO;
import com.example.friend.domain.exam.dto.ExamRankDTO;
import com.example.friend.domain.exam.vo.ExamVO;

import java.util.List;

public interface IExamService {
    public List<ExamVO> list(ExamQueryDTO examQueryDTO);

    public TableDataInfo reidsList(ExamQueryDTO examQueryDTO);

    public String getFirstQuestion(Long examId);

    public String preQuestion(Long examId, Long questionId);

    public String nextQuestion(Long examId, Long questionId);

    public TableDataInfo rankList(ExamRankDTO examRankDTO);
}
